package cn.gson.crm.vo;


public class EmployeeVo {
	private Integer empId;
	private String empName;
	private String empPassword;
	private String empGender;
	private String empTelphone;
	private String empEmail;
	private String empAddress;
	private Integer postId;
	private Integer deptId;
	private String empStatus;
	private String deptName;
	private String postName;
	private String StatusName;

	public EmployeeVo() {
	}

	public EmployeeVo(Integer empId, String empName, String empPassword, String empGender, String empTelphone,
			String empEmail, String empAddress, Integer postId, Integer deptId, String empStatus, String deptName,
			String postName, String statusName) {
		super();
		this.empId = empId;
		this.empName = empName;
		this.empPassword = empPassword;
		this.empGender = empGender;
		this.empTelphone = empTelphone;
		this.empEmail = empEmail;
		this.empAddress = empAddress;
		this.postId = postId;
		this.deptId = deptId;
		this.empStatus = empStatus;
		this.deptName = deptName;
		this.postName = postName;
		StatusName = statusName;
	}

	public Integer getEmpId() {
		return empId;
	}

	public void setEmpId(Integer empId) {
		this.empId = empId;
	}

	public String getEmpName() {
		return empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getEmpPassword() {
		return empPassword;
	}

	public void setEmpPassword(String empPassword) {
		this.empPassword = empPassword;
	}

	public String getEmpGender() {
		return empGender;
	}

	public void setEmpGender(String empGender) {
		this.empGender = empGender;
	}

	public String getEmpTelphone() {
		return empTelphone;
	}

	public void setEmpTelphone(String empTelphone) {
		this.empTelphone = empTelphone;
	}

	public String getEmpEmail() {
		return empEmail;
	}

	public void setEmpEmail(String empEmail) {
		this.empEmail = empEmail;
	}

	public String getEmpAddress() {
		return empAddress;
	}

	public void setEmpAddress(String empAddress) {
		this.empAddress = empAddress;
	}

	public Integer getPostId() {
		return postId;
	}

	public void setPostId(Integer postId) {
		this.postId = postId;
	}

	public Integer getDeptId() {
		return deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	public String getEmpStatus() {
		return empStatus;
	}

	public void setEmpStatus(String empStatus) {
		this.empStatus = empStatus;
		
		this.empStatus = ("1".equals(empStatus) ? "在职" : "离职");
	}

	// public void setStatusName(String statusName) {
	// StatusName = statusName;
	//
	// }

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getPostName() {
		return postName;
	}

	public void setPostName(String postName) {
		this.postName = postName;
	}

	public String getStatusName() {
		return StatusName;
	}

}
